package cn.zyq.ykb.beans.course;

import cn.zyq.ykb.system.common.BaseBean;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 课程-轮播图对象 courseChart
 *
 * @author SystemAuth
 * @date 2023-06-01
 */
@Data
@Entity
@Table(name = "`courseChart`")
public class CourseChart  extends BaseBean implements Serializable {
    /**
     * 主键id，用于关联
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    @Column(name = "`courseChartID`")
    @ApiModelProperty("主键id，用于关联")
    private Integer courseChartID;
    /**
     * 名称
     */
    @Column(name = "`name`")
    @ApiModelProperty("名称")
    private String name;
    /**
     * 轮播图
     */
    @Column(name = "`picture`")
    @ApiModelProperty("轮播图")
    private String picture;
}
